package com.cskaoyan.service;

import com.cskaoyan.bean.MarketCoupon;
import com.cskaoyan.bean.MarketCouponUser;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;

/**
 * @author chengyi
 * @date 2022/10/13 14:31
 */
public interface AdminCouponService {
    CommonData<MarketCoupon> list(BasePageInfo info, String name, Short type, Short status);

    MarketCoupon create(MarketCoupon marketCoupon);

    MarketCoupon update(MarketCoupon marketCoupon);


    void delete(MarketCoupon marketCoupon);

    MarketCoupon read(Integer id);

    CommonData<MarketCouponUser> listuser(BasePageInfo info, Integer coupon, Integer userId, Short status);
}
